
import { gameData } from "./Data/GameData";
import { adManager } from "./Manager/AdManager/AdManager";
import { audioManager, AudioManager } from "./Manager/AudioManager/AudioManager";
import { dataManager } from "./Manager/DataManager/DataManager";
import { httpManager } from "./Manager/HttpManager/HttpManager";
import { LogManager } from "./Manager/LogManager/LogManager";
import { popManager, PopManager } from "./Manager/PopManager/PopManager";
import { resManager, ResManager } from "./Manager/ResManager/ResManager";
import { topManager } from "./Manager/TopManager/TopManager";
import { uiManager } from "./Manager/UIManager/UIManager";
import { pathManager } from "./Scene/GameScene/DragonLoad/PathManager";


class Core {

    //输出管理
    public logManager = LogManager;

    //场景ui管理
    public uiManager = uiManager;

    public popManager = popManager;

    public topManager = topManager;

    //资源管理
    public resManager = resManager;

    //音效管理
    public audioManager = audioManager;

    //网络请求管理
    public httpManager = httpManager;

    //数据管理
    public dataManager = dataManager;

    //游戏数据
    public gameData = gameData;

    //路径管理
    public pathManager = pathManager;

    //广告管理
    public adManager = adManager;


}

declare global {
    interface Window {
        app: Core;
    }

    var app: Core;
}

window.app = new Core();

